package com.gmt;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author John.zhang
 * @version Id: ProductService, v 1.0 2020/11/16 11:29 ZhiYong Exp $
 */
@RestController
public class ProductService {

    @GetMapping("/product/{id}")
    public String findById(@PathVariable("id") int id) {
        return "SUCCESS";
    }

}
